Light linkingΒΆ

Control the light visibility

By default, the lights are not primary visible. To render a light, make sure the Primitive > Primary Visibility is checked and the Linking > Visible Layer Set is correctly set.

Only the Square, Disc, Sphere and Environment lights can be primary visible. Remove an object from the Lights set

By default, the objects are lit by the lights of the Lights set. Let's remove an object from this set using the RenderGraph.

The sphere is in the Lights set, and unlinked from the Lights set.

  1. Select the object you want to remove from the Lights set.
  2. Drag'n drop it into the RenderGraph.
  3. Add a RenderGraph/Set node, and replace the All set by -Lighting.

  4. Make the object node flow into the Set node.
  5. Merge those nodes after the Lighting node of your RenderGraph in Override.

Remove an object from the Shadows set

By default, the objects cast shadows in the lights of the Shadows set. Let's remove an object from this set using the RenderGraph.

The sphere is in the Shadows set, and unlinked from the Shadows set.

  1. Select the object you want to remove from the Shadows set.
  2. Drag'n drop it into the RenderGraph.
  3. Add a RenderGraph/Set node, and replace the All set by -Shadows.

  4. Make the object node flow into the Set node.
  5. Merge those nodes after the Lighting node of your RenderGraph in Override.

Put a light in a specific light set

By default, the lights illuminate the objects of the Lights set. Let's use another set to illuminate only the sphere.

The sphere is in the Lights set, and lit by a specific SphereLights set.

  1. Select the light you want to assign a new Set.
  2. In Light > Light Set, replace the Lights set by the SphereLights set. The light illuminates now the objects in the SphereLights set.
  3. Select the object you want to link (the sphere here).
  4. Drag'n drop it into the RenderGraph.
  5. Add a RenderGraph/Set node, and replace the All set by +SphereLights.

  6. Make the object node flow into the Set node.
  7. Merge those nodes in your RenderGraph in Override.

Doing the same with the Light > Shadow Set, a light can cast shadows using a specific object set. Remove the light shadows

By default, the lights cast shadows in the Shadows object set. Let's remove the light shadows.

The light cast shadows in the Shadows set, and stop casting shadows.

  1. Select the light you want to remove the shadows from.
  2. Empty the Light > Shadow Set attribute.